package org.apereo.cas.web.y9.event.message;

import java.io.Serializable;

public class Y9MessageOrg implements Serializable {
    private static final long serialVersionUID = 6408566736524500841L;

    public static long getSerialversionuid() {
        return serialVersionUID;
    }
    private Serializable orgObj;
    private String eventType;
    private String eventTarget;

    private String tenantID;

    public Y9MessageOrg() {}

    public Y9MessageOrg(Serializable orgObj, String eventType, String eventTarget, String tenantID) {
        this.orgObj = orgObj;
        this.eventType = eventType;
        this.eventTarget = eventTarget;
        this.tenantID = tenantID;
    }

    public String getEventTarget() {
        return eventTarget;
    }

    public String getEventType() {
        return eventType;
    }

    public Serializable getOrgObj() {
        return orgObj;
    }

    public String getTenantID() {
        return tenantID;
    }

    public void setEventTarget(String eventTarget) {
        this.eventTarget = eventTarget;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    public void setOrgObj(Serializable orgObj) {
        this.orgObj = orgObj;
    }

    public void setTenantID(String tenantID) {
        this.tenantID = tenantID;
    }

    @Override
    public String toString() {
        return "Y9MessageOrg [eventType=" + eventType + ", eventTarget=" + eventTarget + ", tenantID=" + tenantID + "]";
    }

}